<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        h2{
            margin: 60px 0 20px 20px;
            font-size: 30px;
        }
        .user{
            display: flex;
        }
        .pwd{
            display: flex;
        }
        input{
            flex: 1;
            height: 40px;
            line-height: 40px;
            margin: 20px;
            border: none;
            outline: none;
            border-bottom: 1px solid #999;
            padding-left: 10px;
        }
        .btn {
            display: flex;
        }
        button{
           flex: 1;
           height: 40px;
           margin: 20px;
           background: #999;
           border: none;
           border-radius: 20px;
           font-size: 20px;
        }
        .tips{
            color: rgb(59, 142, 206);
            font-size: 18px;
            margin: 0 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
    </style>
</head>
<body>
    <div id="login">
        <h2>密码登录</h2>
        <div class="user">
            <input type="text" placeholder="手机/用户名" v-model="user">
        </div>
        <div class="pwd">
            <input type="password" placeholder="密码" v-model="pwd">
        </div>
        <div class="btn">
            <button @click="login()">登录</button>
        </div>
        <div class="tips">
            <span>手机号登录</span>
            <span>忘记登录</span>
        </div>
    </div>

    <script src="vue.js"></script>
    <script src="登录页.js"></script>
</body>
</html>